FROM = python
target := sheng-bot
exec := docker exec -it $(target) bash -c
exec_d := docker exec -itd $(target) bash -c
cp   := docker cp

.PHONY : docker start clean

all: clean docker start

docker :
	cp -f Dockerfile ..
	cd .. && docker build -t $(target) .

clean :
	docker rm -f $(target)
	docker rmi -f $(target)

start :
	docker run -itd --name $(target) $(target)
